package javacore.Statements;

public class PassingArrayToMethod {

	
	public static void main(String[] args) {
		printArray(new int[]{6, 11, 9, 0, 14, 2});

	}
	
	public static void printArray(int[] array) {
	  for (int i = 0; i < array.length; i++) {
	    System.out.print(array[i] + " ");
	  }
	}

}
